package com.enbatis.mybatisplugs.entity.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;

@Data
public class Menu implements Serializable {

    private String path;
    private String name;
    private String label;
    private String menuName;
    private String icon;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long pid;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    //0否1是
    private Integer checked;
    //0否1是
    private Integer expanded;

}
